package com.yswy.backstage.service.impl;

import cn.hutool.core.bean.BeanUtil;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yswy.backstage.service.DomainService;
import com.yswy.backstage.service.EnumsConfigService;
import com.yswy.common.enums.TfPlatformEnums;
import com.yswy.common.enums.TriggerNodeEnums;
import com.yswy.common.enums.XtPlatformEnums;
import com.yswy.common.enums.base.EnumHelper;
import com.yswy.common.enums.base.TypeEnumDto;
import com.yswy.domain.common.BasePojo;
import com.yswy.domain.entity.Domain;
import com.yswy.domain.entity.user.User;
import com.yswy.domain.framework.context.CurrentUserContext;
import com.yswy.domain.mapper.DomainMapper;
import com.yswy.domain.vo.dto.BaseFilter;
import com.yswy.domain.vo.gld.addOrUpate.DomainAddOrUpdate;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import org.springframework.util.Assert;

import java.util.List;
import java.util.Map;

import static com.yswy.backstage.utils.CrudUtils.selectCount;
import static com.yswy.common.constants.WarnMsgConstants.NULL_MSG;

@Slf4j
@Service
@AllArgsConstructor
public class EnumsConfigServiceImpl implements EnumsConfigService {

    @Override
    public List<TypeEnumDto> tfPlatformEnums() {
        return TfPlatformEnums.kv;
    }
    @Override
    public List<TypeEnumDto> xtPlatformEnums() {
        return XtPlatformEnums.kv;
    }

    @Override
    public List<TypeEnumDto> triggerNodeEnums() {
        return TriggerNodeEnums.kv;
    }

}
